package com.yh.doing.state_pattern.demo;

/**
 * @program: design-patterns
 * @description:
 * @author: yangh0597@163.com
 * @date: 2022-11-27 21:39
 * @problem:
 **/
public class Main {
    public static void main(String[] args) {
        Context context = new Context();
        context.setStatue(new StateA());
        context.handle();
    }
}
